<?php

echo '<ul>';
foreach($items as $Category) {
	printf('<li>%s</li>', CHtml::link($Category->title, , array('category/view', 'id' => $Category->category_id)));
	printf('<ul>');
	foreach($Category->childs as $Child) {
	printf('<li>%s</li>', CHtml::link($Child->title,, array('category/view', 'id' => $Category->category_id)));
	}
	printf('</ul>');
}
echo '</ul>';

?>
